package com.scs.application.modules.base.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.scs.application.core.entity.DataEntity;
import com.scs.application.modules.upgrade.db.annotation.EntityClassAnnotation;
import com.scs.application.modules.upgrade.db.annotation.EntityFieldAnnotation;
import com.scs.application.modules.upgrade.db.enums.EntityFieldType;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * <p>
 * 试剂组
 * </p>
 */
@Data
@Accessors(chain = true)
@EntityClassAnnotation(remark = "试剂组人员")
@TableName("base_reagent_team_user")
public class ReagentTeamUser extends DataEntity {

    // id ,在父类中处理

    @EntityFieldAnnotation(
            text = "用户id",
            type = EntityFieldType.LONG,
            length = "",
            not_null = false,
            default_value = ""
    )
    private String userId;

    @EntityFieldAnnotation(
            text = "用户账号",
            length = "",
            not_null = false,
            default_value = ""
    )
    private String code;

    @EntityFieldAnnotation(
            text = "用户名称",
            length = "",
            not_null = false,
            default_value = ""
    )
    private String name;

    @EntityFieldAnnotation(
            text = "试剂组id",
            type = EntityFieldType.LONG,
            length = "",
            not_null = true,
            default_value = ""
    )
    private String reagentTeamId;

    @EntityFieldAnnotation(
            text = "性别",
            length = "5",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private String gender;

    @EntityFieldAnnotation(
            text = "职位",
            length = "20",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private String title;

    @EntityFieldAnnotation(
            text = "分类",
            length = "",
            not_null = false,
            default_value = "0",
            comment = "0：未分类；1：医生；2：护士；3：服务类；4：院领导"
    )
    private String staffType;

}
